<?php
	class Sell {
		private $id;
		private $date;
		private $discount;
		private $sellType;
		private $amount;
		private $paid;
		private $paymentTypeId;
		private $clientId;
		private $companyId;
		
		public function __construct($id = null,
									$date = null,
									$discount = null,
									$sellType = null,
									$amount = null,
									$paid = null,
									$paymentTypeId = null,
									$clientId = null,
									$companyId = null) {
			$this->id = $id;
			$this->date = $date;
			$this->discount = $discount;
			$this->sellType = $sellType;
			$this->amount = $amount;
			$this->paid = $paid;
			$this->paymentTypeId = $paymentTypeId;
			$this->clientId = $clientId;
			$this->companyId = $companyId;
		}
		
		public function getId () {return $this->id;}
		public function getDate () {return $this->date;}
		public function getDiscount () {return $this->discount;}
		public function getSellType () {return $this->sellType;}
		public function getAmount () {return $this->amount;}
		public function getPaid () {return $this->paid;}
		public function getPaymentTypeId () {return $this->paymentTypeId;}
		public function getClientId () {return $this->clientId;}
		public function getCompanyId () {return $this->companyId;}
		
		public function setId ($id) {$this->id = $id;}
		public function setDate ($date) {$this->name = $name;}
		public function setDiscount ($discount) {$this->discount = $discount;}
		public function setSellType ($sellType) {$this->sellType = $sellType;}
		public function setAmount ($amount) {$this->amount = $amount;}
		public function setPaid ($paid) {$this->paid = $paid;}
		public function setPaymentTypeId ($paymentTypeId) {$this->paymentTypeId = $paymentTypeId;}
		public function setClientId ($clientId) {$this->clientId = $clientId;}
		public function setCompanyId ($companyId) {$this->companyId = $companyId;}
	}
?>